package singleton;

public class mainclas {
	public static void main(String[] args){
		person2 per=person2.getperson();
		person2 per1=person2.getperson();
		per.setName("zhangsan");
		per.setName("lisi");
		System.out.println(per.getName());
		System.out.println(per.getName());

	}
}
